Automattic\WooCommerce\StoreApi\Utilities\ProductQuery B

Total Complexity 83
Dependencies 2
Dependents 2
Total lines 537
Lines of code 337
Logical lines of code 176
Comment lines 129
Methods 12
Properties 0

Methods 12

Method Rating Maintainability Complexity Lines of code
prepare_objects_query()
D
22
47 180
add_query_clauses()
A
45 11 39
add_price_filter_clauses()
S
54 5 22
get_results()
S
54 4 19
get_price_filter_query_for_displayed_taxes()
S
53 3 23
convert_tax_query_to_meta_query()
S
58 3 16
adjust_price_filter_for_tax_class()
S
61 3 11
adjust_price_filters_for_displayed_taxes()
S
72 2 5
append_product_sorting_table_join()
S
67 2 7
get_objects()
S
66 1 8
get_last_modified()
S
75 1 4
prepare_price_filter()
S
78 1 3